//
//  LLAudioRecordDelegate.h
//  LLFoundation
//
//  Created by my_liu on 2016/11/14.
//  Copyright © 2016年 . All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LLAudioModel.h"

@class LLAudioRecord;
@protocol LLAudioRecordDelegate <NSObject>

@optional

- (void)audioRecord:(LLAudioRecord *)audioRecord finishRecord:(LLAudioModel*)resultAudio;

- (void)audioRecord:(LLAudioRecord *)audioRecord soundMeter:(CGFloat)soundMeter;

- (void)audioRecord:(LLAudioRecord *)audioRecord didFaildByMinRecordDuration:(NSTimeInterval)minDuration;

- (void)audioRecordDidCancel:(LLAudioRecord*)audioRecord;

- (void)audioRecord:(LLAudioRecord *)audioRecord limitDurationProgress:(CGFloat)progress;

- (void)audioRecord:(LLAudioRecord *)audioRecord didOccusError:(NSError *)error;

@end
